<?php
include_once(config.php);
session_start();
if (isset($_SESSION['user']))
{
	header("location:draft.php");
}
else if (isset($_COOKIE['user']))
{
	header("location:checklogin.php");
}
else
{
	header("location:login.php");
}
?>